﻿using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Camc.Quality.QualityAnalysis.RFormClass
{
    /// <summary>
    /// 环境要素表
    /// </summary>
    public class REnvironmentEntity : FullAuditedEntity<Guid>
    {
        public REnvironmentEntity()
        {

        }

        public REnvironmentEntity(string temperature, string temperature_DisplayName, string humidity, string humidity_DisplayName, string atmPressure, string atmPressure_DisplayName)
        {
            Temperature = temperature;
            Temperature_DisplayName = temperature_DisplayName;
            Humidity = humidity;
            Humidity_DisplayName = humidity_DisplayName;
            AtmPressure = atmPressure;
            AtmPressure_DisplayName = atmPressure_DisplayName;
        }

        #region 温度
        /// <summary>
        /// 温度值
        /// </summary>
        public virtual string Temperature { get; protected set; }
        /// <summary>
        /// 温度列名
        /// </summary>
        public virtual string Temperature_DisplayName { get; protected set; }
        #endregion

        #region 湿度
        /// <summary>
        /// 湿度值
        /// </summary>
        public virtual string Humidity { get; protected set; }
        /// <summary>
        /// 湿度列名
        /// </summary>
        public virtual string Humidity_DisplayName { get; protected set; }
        #endregion

        #region 大气压力
        /// <summary>
        /// 大气压力值
        /// </summary>
        public virtual string AtmPressure { get; protected set; }
        /// <summary>
        /// 大气压力列名
        /// </summary>
        public virtual string AtmPressure_DisplayName { get; protected set; }
        #endregion

        /// <summary>
        /// H1温度
        /// </summary>
        /// <param name="temperature"></param>
        /// <param name="temperature_DisplayName"></param>
        /// <param name="temperature_Enable"></param>
        /// <param name="temperature_Show"></param>
        /// <param name="temperature_Property"></param>
        public void SetTemperature(string temperature, string temperature_DisplayName)
        {
            Temperature = temperature;
            Temperature_DisplayName = temperature_DisplayName;
        }
        /// <summary>
        /// H2湿度
        /// </summary>
        /// <param name="humidity"></param>
        /// <param name="humidity_DisplayName"></param>
        /// <param name="humidity_Enable"></param>
        /// <param name="humidity_Show"></param>
        /// <param name="humidity_Property"></param>
        public void SetHumidity(string humidity, string humidity_DisplayName)
        {
            Humidity = humidity;
            Humidity_DisplayName = humidity_DisplayName;
        }
        /// <summary>
        /// H3大气压力
        /// </summary>
        /// <param name="atmPressure"></param>
        /// <param name="atmPressure_DisplayName"></param>
        /// <param name="atmPressure_Enable"></param>
        /// <param name="atmPressure_Show"></param>
        /// <param name="atmPressure_Property"></param>
        public void SetAtmPressure(string atmPressure, string atmPressure_DisplayName)
        {
            AtmPressure = atmPressure;
            AtmPressure_DisplayName = atmPressure_DisplayName;
        }
    }
}
